package com.ruralflow.rental.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruralflow.common.annotation.Excel;
import com.ruralflow.common.core.domain.BaseEntity;

/**
 * 出租屋信息对象 tb_rental
 * 
 * @author ruralflow
 * @date 2025-02-28
 */
public class Rental extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long rentalId;

    /** 出租屋编号 */
    @Excel(name = "出租屋编号")
    private String rentalCode;

    /** 出租屋标题 */
    @Excel(name = "出租屋标题")
    private String rentalTitle;

    /** 出租屋描述 */
    @Excel(name = "出租屋描述")
    private String rentalDescription;

    /** 出租屋地址 */
    @Excel(name = "出租屋地址")
    private String rentalLocation;

    /** 出租屋类型（公寓、别墅、单间） */
    @Excel(name = "出租屋类型", readConverterExp = "公=寓、别墅、单间")
    private String rentalType;

    /** 出租价格（每月） */
    @Excel(name = "出租价格", readConverterExp = "每=月")
    private BigDecimal rentalPrice;

    /** 出租面积（平方米） */
    @Excel(name = "出租面积", readConverterExp = "平=方米")
    private BigDecimal rentalArea;

    /** 配套设施 */
    private String rentalFacilities;

    /** 出租屋图片（多个图片url，用逗号分隔） */
    @Excel(name = "出租屋图片", readConverterExp = "多=个图片url，用逗号分隔")
    private String rentalImages;

    /** 出租状态 */
    @Excel(name = "出租状态")
    private String rentalStatus;

    /** 联系人姓名 */
    private String contactName;

    /** 联系人电话 */
    private String contactPhone;

    /** 删除标记：0正常，1已删除 */
    private String delFlag;

    public void setRentalId(Long rentalId) 
    {
        this.rentalId = rentalId;
    }

    public Long getRentalId() 
    {
        return rentalId;
    }
    public void setRentalCode(String rentalCode) 
    {
        this.rentalCode = rentalCode;
    }

    public String getRentalCode() 
    {
        return rentalCode;
    }
    public void setRentalTitle(String rentalTitle) 
    {
        this.rentalTitle = rentalTitle;
    }

    public String getRentalTitle() 
    {
        return rentalTitle;
    }
    public void setRentalDescription(String rentalDescription) 
    {
        this.rentalDescription = rentalDescription;
    }

    public String getRentalDescription() 
    {
        return rentalDescription;
    }
    public void setRentalLocation(String rentalLocation) 
    {
        this.rentalLocation = rentalLocation;
    }

    public String getRentalLocation() 
    {
        return rentalLocation;
    }
    public void setRentalType(String rentalType) 
    {
        this.rentalType = rentalType;
    }

    public String getRentalType() 
    {
        return rentalType;
    }
    public void setRentalPrice(BigDecimal rentalPrice) 
    {
        this.rentalPrice = rentalPrice;
    }

    public BigDecimal getRentalPrice() 
    {
        return rentalPrice;
    }
    public void setRentalArea(BigDecimal rentalArea) 
    {
        this.rentalArea = rentalArea;
    }

    public BigDecimal getRentalArea() 
    {
        return rentalArea;
    }
    public void setRentalFacilities(String rentalFacilities) 
    {
        this.rentalFacilities = rentalFacilities;
    }

    public String getRentalFacilities() 
    {
        return rentalFacilities;
    }
    public void setRentalImages(String rentalImages) 
    {
        this.rentalImages = rentalImages;
    }

    public String getRentalImages() 
    {
        return rentalImages;
    }
    public void setRentalStatus(String rentalStatus) 
    {
        this.rentalStatus = rentalStatus;
    }

    public String getRentalStatus() 
    {
        return rentalStatus;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rentalId", getRentalId())
            .append("rentalCode", getRentalCode())
            .append("rentalTitle", getRentalTitle())
            .append("rentalDescription", getRentalDescription())
            .append("rentalLocation", getRentalLocation())
            .append("rentalType", getRentalType())
            .append("rentalPrice", getRentalPrice())
            .append("rentalArea", getRentalArea())
            .append("rentalFacilities", getRentalFacilities())
            .append("rentalImages", getRentalImages())
            .append("rentalStatus", getRentalStatus())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
